import VueRouter from 'vue-router'

//导入组件
import HomeContainer from './components/tabbar/HomeContainer.vue'
import MessageContainer from './components/tabbar/MessageContainer.vue'
import MyContainer from './components/tabbar/MyContainer.vue'
import Login from './components/login/LoginContainer.vue'
import List from './components/userlist/UserListContainer.vue'
import yhInfo from './components/userlist/yhInfo.vue'
import dlhy from './components/tables/dlhyTable.vue'
import hycl from './components/tables/hyclTable.vue'
import search from './components/toolsContainer/searchContainer.vue'
import hyclTB from './components/tables/hyclTB.vue'
import hyclList from './components/tables/hyclList.vue'
import error from './components/tables/errorTable.vue'
import withPhoneNumber from './components/toolsContainer/withPhoneNumber.vue'
import changePassword from './components/toolsContainer/changePassword.vue'
import forgetPassword from './components/toolsContainer/forgetPassword.vue'
import hpView from './components/screen/hpview.vue'
import clhpView from './components/screen/clhpview.vue'
import owerInfo from './components/toolsContainer/owerInfo.vue'
import company from './components/toolsContainer/company.vue'
import checkRules from './components/staticPage/checkRules.vue'
import reportByOther from './components/toolsContainer/reportByOther.vue'
import auxiliaryTableOne from './components/tables/auxiliaryTableOne.vue'
import auxiliaryTableTwo from './components/tables/auxiliaryTableTwo.vue'
import auxiliaryTableThree from './components/tables/auxiliaryTableThree.vue'
import auxiliaryTableFour from './components/tables/auxiliaryTableFour.vue'
import auxiliaryTableFive from './components/tables/auxiliaryTableFive.vue'
import FZBUserListContainer from './components/userlist/FZBUserListContainer.vue'
import FZBTableCheck from './components/toolsContainer/FZBTableCheck.vue'
import auxiliaryTableOneInsert from './components/tables/auxiliaryTableOneInsert.vue'
import auxiliaryTableTwoInsert from './components/tables/auxiliaryTableTwoInsert.vue'
import auxiliaryTableOneUpdate from './components/tables/auxiliaryTableOneUpdate.vue'
import auxiliaryTableTwoUpdate from './components/tables/auxiliaryTableTwoUpdate.vue'
import auxiliaryTableFiveUpdate from './components/tables/auxiliaryTableFiveUpdate.vue'
import auxiliaryTableThreeInsert from './components/tables/auxiliaryTableThreeInsert.vue'
import auxiliaryTableThreeUpdate from './components/tables/auxiliaryTableThreeUpdate.vue';
import auxiliaryTableFourUpdate from './components/tables/auxiliaryTableFourUpdate.vue'
import auxiliaryTableFourInsert from './components/tables/auxiliaryTableFourInsert.vue'
import auxiliaryTableFiveBaseInfoInsert from './components/tables/auxiliaryTableFiveBaseInfoInsert.vue'
import auxiliaryTableFiveBaseInfoUpdate from './components/tables/auxiliaryTableFiveBaseInfoUpdate.vue'
import auxiliaryTableFiveTransportInfo from './components/tables/auxiliaryTableFiveTransportInfo.vue'
import auxiliaryTableFiveTransportInfoInsert from './components/tables/auxiliaryTableFiveTransportInfoInsert.vue'
import auxiliaryTableFiveTransportInfoUpdate from './components/tables/auxiliaryTableFiveTransportInfoUpdate.vue'
import auxiliaryTableFiveOther from './components/tables/auxiliaryTableFiveOther.vue'
import auxiliaryTableFiveOtherInsert from './components/tables/auxiliaryTableFiveOtherInsert.vue'
import auxiliaryTableFiveOtherUpdate from './components/tables/auxiliaryTableFiveOtherUpdate.vue'
import auxiliaryTableFiveCalculation from './components/tables/auxiliaryTableFiveCalculation.vue'
import auxiliaryTableFiveCalculationInsert  from './components/tables/auxiliaryTableFiveCalculationInsert.vue'
import auxiliaryTableFiveCalculationUpdate  from './components/tables/auxiliaryTableFiveCalculationUpdate.vue'
import gtjyfw  from './components/tables/gtjyfwList.vue'

import register from './components/login/register.vue'
import FZBTableCheckSj from './components/driver/FZBTableCheckSj.vue'
import MyContainerSj from './components/tabbar/MyContainerSj.vue'
import auxiliaryTableOneSj from './components/driver/auxiliaryTableOneSj.vue'
import auxiliaryTableTwoSj from './components/driver/auxiliaryTableTwoSj.vue'
import auxiliaryTableThreeSj from './components/driver/auxiliaryTableThreeSj.vue'
import auxiliaryTableFourSj from './components/driver/auxiliaryTableFourSj.vue'
import auxiliaryTableOneInsertSj from './components/driver/auxiliaryTableOneInsertSj.vue'
import auxiliaryTableTwoInsertSj from './components/driver/auxiliaryTableTwoInsertSj.vue'
import auxiliaryTableThreeInsertSj from './components/driver/auxiliaryTableThreeInsertSj.vue'
import auxiliaryTableFourInsertSj from './components/driver/auxiliaryTableFourInsertSj.vue'
import auxiliaryTableOneUpdateSj from './components/driver/auxiliaryTableOneUpdateSj.vue'
import auxiliaryTableTwoUpdateSj from './components/driver/auxiliaryTableTwoUpdateSj.vue'
import auxiliaryTableThreeUpdateSj from './components/driver/auxiliaryTableThreeUpdateSj.vue'
import auxiliaryTableFourUpdateSj from './components/driver/auxiliaryTableFourUpdateSj.vue'
import auxiliaryTableFiveSj from './components/driver/auxiliaryTableFiveSj.vue'
import auxiliaryTableFiveBaseInfoSj from './components/driver/auxiliaryTableFiveBaseInfoSj.vue'
import auxiliaryTableFiveBaseInfoInsertSj from './components/driver/auxiliaryTableFiveBaseInfoInsertSj.vue'
import auxiliaryTableFiveBaseInfoUpdateSj from './components/driver/auxiliaryTableFiveBaseInfoUpdateSj.vue'
import auxiliaryTableFiveTransportInfoSj from './components/driver/auxiliaryTableFiveTransportInfoSj.vue'
import auxiliaryTableFiveTransportInfoInsertSj from './components/driver/auxiliaryTableFiveTransportInfoInsertSj.vue'
import auxiliaryTableFiveTransportInfoUpdateSj from './components/driver/auxiliaryTableFiveTransportInfoUpdateSj.vue'
import auxiliaryTableFiveOtherSj from './components/driver/auxiliaryTableFiveOtherSj.vue'
import auxiliaryTableFiveOtherInsertSj from './components/driver/auxiliaryTableFiveOtherInsertSj.vue'
import auxiliaryTableFiveOtherUpdateSj from './components/driver/auxiliaryTableFiveOtherUpdateSj.vue'
import auxiliaryTableFiveCalculationSj from './components/driver/auxiliaryTableFiveCalculationSj.vue'


// 附加表5 基本信息及燃耗心心
import auxiliaryTableFiveBaseInfo from './components/tables/auxiliaryTableFiveBaseInfo.vue'



// 3. 创建路由对象
var router = new VueRouter({
    routes: [
        {path: '/', redirect: '/login'},
        //{path: '/', redirect: '/home'},
        {path: '/home', component: HomeContainer},
        {path: '/home/userList', component: List},
        {path: '/message', component: MessageContainer},
        {path: '/my', component: MyContainer},
        {path: '/login', component: Login},
        {path: '/home/yhinfo/:id/:companyState/:reportedByOther/:information/:samplestatus', component: yhInfo},
        {path: '/home/checkRules', component: checkRules},
        {path: '/yhInfo/dlhy', component: dlhy},
        {path: '/yhInfo/dlhy/gtjyfw', component: gtjyfw},
        {path: '/yhInfo/hycl', component: hycl},
        {path: '/yhInfo/error', component: error},
        {path: '/home/search', component: search},
        {path: '/yhInfo/hycl/hyclTB', component: hyclTB},
        {path: '/yhInfo/hycl/hyclList', component: hyclList},
        {path: '/login/withPhoneNumber', component: withPhoneNumber},
        {path: '/login/changePassword', component: changePassword},
        {path: '/login/forgetPassword', component: forgetPassword},
        {path: '/yhInfo/dlhy/hpview', component: hpView},
        {path: '/yhInfo/dlhy/clhpview', component: clhpView},
        {path: '/my/owerInfo', component: owerInfo},
        {path: '/my/company', component: company},
        {path: '/home/reportByOther', component: reportByOther},
        {path: '/home/auxiliaryTableOne/:yhmlk/:reportedByOther', component: auxiliaryTableOne},
        {path: '/home/auxiliaryTableTwo/:yhmlk/:reportedByOther', component: auxiliaryTableTwo},
        {path: '/home/auxiliaryTableThree/:yhmlk/:reportedByOther', component: auxiliaryTableThree},
        {path: '/home/auxiliaryTableFour/:yhmlk/:reportedByOther', component: auxiliaryTableFour},
        {path: '/home/auxiliaryTableFive/:yhmlk/:reportedByOther', component: auxiliaryTableFive},
        {path: '/home/FZBUserListContainer', component: FZBUserListContainer},
        {path: '/home/FZBUserListContainer/FZBTableCheck/:id/:companyState/:reportedByOther/:information/:samplestatus', component: FZBTableCheck},
        {path: '/home/auxiliaryTableOneInsert/:yhmlk' , component: auxiliaryTableOneInsert},
        {path: '/home/auxiliaryTableTwoInsert/:yhmlk' , component: auxiliaryTableTwoInsert},
        {path: '/home/auxiliaryTableOneUpdate/:yhmlk/:recid/:floatorder' , component: auxiliaryTableOneUpdate},
        {path: '/home/auxiliaryTableTwoUpdate/:yhmlk/:recid/:floatorder' , component: auxiliaryTableTwoUpdate},
        {path: '/home/auxiliaryTableThreeInsert/:yhmlk' , component: auxiliaryTableThreeInsert},
        {path: '/home/auxiliaryTableFourInsert/:yhmlk' , component: auxiliaryTableFourInsert},
        // {path: '/home/auxiliaryTableFiveInsert/:yhmlk' , component: auxiliaryTableFiveInsert},
        {path: '/home/auxiliaryTableThreeUpdate/:yhmlk/:recid/:floatorder' , component: auxiliaryTableThreeUpdate},
        {path: '/home/auxiliaryTableFourUpdate/:yhmlk/:recid/:floatorder' , component: auxiliaryTableFourUpdate},
        {path: '/home/auxiliaryTableFiveUpdate/:yhmlk/:recid/:floatorder' , component: auxiliaryTableFiveUpdate},
        {path: '/home/auxiliaryTableFiveBaseInfo/:yhmlk/:reportedByOther' , component: auxiliaryTableFiveBaseInfo},
        {path: '/home/auxiliaryTableFiveTransportInfo/:yhmlk/:reportedByOther' , component: auxiliaryTableFiveTransportInfo},
        {path: '/home/auxiliaryTableFiveOther/:yhmlk/:reportedByOther' , component: auxiliaryTableFiveOther},
        {path: '/home/auxiliaryTableFiveCalculation/:yhmlk/:reportedByOther' , component: auxiliaryTableFiveCalculation},
        {path: '/home/auxiliaryTableFiveBaseInfoInsert/:yhmlk' , component: auxiliaryTableFiveBaseInfoInsert},
        {path: '/home/auxiliaryTableFiveTransportInfoInsert/:yhmlk' , component: auxiliaryTableFiveTransportInfoInsert},
        {path: '/home/auxiliaryTableFiveOtherInsert/:yhmlk' , component: auxiliaryTableFiveOtherInsert},
        {path: '/home/auxiliaryTableFiveCalculationInsert/:yhmlk' , component: auxiliaryTableFiveCalculationInsert},
        {path: '/home/auxiliaryTableFiveBaseInfoUpdate/:yhmlk/:recid/:floatorder' , component: auxiliaryTableFiveBaseInfoUpdate},
        {path: '/home/auxiliaryTableFiveTransportInfoUpdate/:yhmlk/:recid/:floatorder' , component: auxiliaryTableFiveTransportInfoUpdate},
        {path: '/home/auxiliaryTableFiveOtherUpdate/:yhmlk/:recid/:floatorder' , component: auxiliaryTableFiveOtherUpdate},
        {path: '/home/auxiliaryTableFiveCalculationUpdate/:yhmlk/:recid/:floatorder' , component: auxiliaryTableFiveCalculationUpdate},
        
        {path: '/login/register' , component: register},
        {path: '/FZBTableCheckSj', component: FZBTableCheckSj},
        {path: '/mySj', component: MyContainerSj},
        {path: '/main/auxiliaryTableOneSj/:yhmlk/:reportedByOther', component: auxiliaryTableOneSj},
        {path: '/main/auxiliaryTableTwoSj/:yhmlk/:reportedByOther', component: auxiliaryTableTwoSj},
        {path: '/main/auxiliaryTableThreeSj/:yhmlk/:reportedByOther', component: auxiliaryTableThreeSj},
        {path: '/main/auxiliaryTableFourSj/:yhmlk/:reportedByOther', component: auxiliaryTableFourSj},
        {path: '/main/auxiliaryTableFiveSj/:yhmlk/:reportedByOther', component: auxiliaryTableFiveSj},
        {path: '/main/auxiliaryTableOneInsertSj/:yhmlk' , component: auxiliaryTableOneInsertSj},
        {path: '/main/auxiliaryTableTwoInsertSj/:yhmlk' , component: auxiliaryTableTwoInsertSj},
        {path: '/main/auxiliaryTableThreeInsertSj/:yhmlk' , component: auxiliaryTableThreeInsertSj},
        {path: '/main/auxiliaryTableFourInsertSj/:yhmlk' , component: auxiliaryTableFourInsertSj},
        {path: '/main/auxiliaryTableOneUpdateSj/:yhmlk/:recid/:floatorder' , component: auxiliaryTableOneUpdateSj},
        {path: '/main/auxiliaryTableTwoUpdateSj/:yhmlk/:recid/:floatorder' , component: auxiliaryTableTwoUpdateSj},
        {path: '/main/auxiliaryTableThreeUpdateSj/:yhmlk/:recid/:floatorder' , component: auxiliaryTableThreeUpdateSj},
        {path: '/main/auxiliaryTableFourUpdateSj/:yhmlk/:recid/:floatorder' , component: auxiliaryTableFourUpdateSj},
        {path: '/main/auxiliaryTableFiveBaseInfoSj/:yhmlk/:reportedByOther' , component: auxiliaryTableFiveBaseInfoSj},
        {path: '/main/auxiliaryTableFiveBaseInfoInsertSj/:yhmlk' , component: auxiliaryTableFiveBaseInfoInsertSj},
        {path: '/main/auxiliaryTableFiveBaseInfoUpdateSj/:yhmlk/:recid/:floatorder' , component: auxiliaryTableFiveBaseInfoUpdateSj},
        {path: '/main/auxiliaryTableFiveTransportInfoSj/:yhmlk/:reportedByOther' , component: auxiliaryTableFiveTransportInfoSj},
        {path: '/main/auxiliaryTableFiveTransportInfoInsertSj/:yhmlk' , component: auxiliaryTableFiveTransportInfoInsertSj},
        {path: '/main/auxiliaryTableFiveTransportInfoUpdateSj/:yhmlk/:recid/:floatorder' , component: auxiliaryTableFiveTransportInfoUpdateSj},
        {path: '/main/auxiliaryTableFiveOtherSj/:yhmlk/:reportedByOther' , component: auxiliaryTableFiveOtherSj},
        {path: '/main/auxiliaryTableFiveOtherInsertSj/:yhmlk' , component: auxiliaryTableFiveOtherInsertSj},
        {path: '/main/auxiliaryTableFiveOtherUpdateSj/:yhmlk/:recid/:floatorder' , component: auxiliaryTableFiveOtherUpdateSj},
        {path: '/main/auxiliaryTableFiveCalculationSj/:yhmlk/:reportedByOther' , component: auxiliaryTableFiveCalculationSj},
        
    ],
    linkActiveClass: 'mui-active'
});

// 把路由对象暴露出去
export default router;